---
function generateRandomHex(length: number) {
  let result = "";
  for (let i = 0; i < length; i++) {
    const randomHex = Math.floor(Math.random() * 16);
    result += randomHex.toString(16);
  }
  return result;
}

const prefix = generateRandomHex(8);
---

<svg
  width={Astro.props.width || "87.090408mm"}
  height={Astro.props.height || "29.292786mm"}
  class={Astro.props.class}
  viewBox="0 0 87.090408 29.292786"
  version="1.1"
  xml:space="preserve"
  xmlns:xlink="http://www.w3.org/1999/xlink"
  xmlns="http://www.w3.org/2000/svg"
>
  <defs>
    <rect x="175.75" y="63.75" width="180.25" height="80.75"></rect>
    <linearGradient id={`gradient2521-${prefix}`}>
      <stop style="stop-color:#ffc420;stop-opacity:1;" offset="0"></stop>
      <stop style="stop-color:#ba0c0c;stop-opacity:1;" offset="1"></stop>
    </linearGradient>
    <linearGradient
      xlink:href={`#gradient2521-${prefix}`}
      id={`gradient2523-${prefix}`}
      x1="29.558136"
      y1="9.202858"
      x2="29.567518"
      y2="38.487293"
      gradientUnits="userSpaceOnUse"></linearGradient>
    <linearGradient
      xlink:href={`#gradient2521-${prefix}`}
      id={`gradient445-${prefix}`}
      gradientUnits="userSpaceOnUse"
      x1="29.558136"
      y1="9.202858"
      x2="29.567518"
      y2="38.487293"></linearGradient>
    <linearGradient
      xlink:href={`#gradient2521-${prefix}`}
      id={`gradient447-${prefix}`}
      gradientUnits="userSpaceOnUse"
      x1="29.558136"
      y1="9.202858"
      x2="29.567518"
      y2="38.487293"></linearGradient>
    <linearGradient
      xlink:href={`#gradient2521-${prefix}`}
      id={`gradient449-${prefix}`}
      gradientUnits="userSpaceOnUse"
      x1="29.558136"
      y1="9.202858"
      x2="29.567518"
      y2="38.487293"></linearGradient>
    <linearGradient
      xlink:href={`#gradient2521-${prefix}`}
      id={`gradient451-${prefix}`}
      gradientUnits="userSpaceOnUse"
      x1="29.558136"
      y1="9.202858"
      x2="29.567518"
      y2="38.487293"></linearGradient>
    <linearGradient
      xlink:href={`#gradient2521-${prefix}`}
      id={`gradient453-${prefix}`}
      gradientUnits="userSpaceOnUse"
      x1="29.558136"
      y1="9.202858"
      x2="29.567518"
      y2="38.487293"></linearGradient>
    <linearGradient
      xlink:href={`#gradient2521-${prefix}`}
      id={`gradient455-${prefix}`}
      gradientUnits="userSpaceOnUse"
      x1="29.558136"
      y1="9.202858"
      x2="29.567518"
      y2="38.487293"></linearGradient>
    <linearGradient
      xlink:href={`#gradient2521-${prefix}`}
      id={`gradient457-${prefix}`}
      gradientUnits="userSpaceOnUse"
      x1="29.558136"
      y1="9.202858"
      x2="29.567518"
      y2="38.487293"></linearGradient>
    <linearGradient
      xlink:href={`#gradient2521-${prefix}`}
      id={`gradient459-${prefix}`}
      gradientUnits="userSpaceOnUse"
      x1="29.558136"
      y1="9.202858"
      x2="29.567518"
      y2="38.487293"></linearGradient>
  </defs>
  <g transform="translate(-16.701638,-9.202)">
    <g style={`fill:url(#gradient2523-${prefix});fill-opacity:1`}>
      <path
        style={`fill:url(#gradient445-${prefix});fill-opacity:1;stroke-width:0;stroke-linejoin:round`}
        d="m 29.557184,9.202 -12.855546,7.328235 0.0062,14.646651 12.861231,7.3179 12.855546,-7.328752 -0.0062,-14.646135 z m 0.001,2.839619 10.39213,5.848739 0.0052,11.705746 -10.38748,5.857007 -10.392131,-5.848739 -0.0052,-11.705745 z"
      ></path>
      <path
        style={`fill:url(#gradient447-${prefix});fill-opacity:1;stroke-width:0;stroke-linejoin:round`}
        d="m 24.310432,17.017567 -3.346137,1.926445 -0.0117,9.855532 5.244402,3.036181 V 22.8467 L 24.30433,21.751116 Z m 10.525957,0.0954 -0.0051,4.651249 -1.97613,1.13752 v 8.89362 l 5.167557,-2.975373 0.0117,-9.855533 z"
        transform="matrix(1.0154171,0,0,0.98581039,-0.41280854,0.15413823)"
      ></path>
      <path
        style={`fill:url(#gradient449-${prefix});fill-opacity:1;stroke-width:0;stroke-linejoin:round`}
        d="m 29.578767,14 -3.925342,2.194182 -0.0057,4.397664 3.920174,2.203483 3.925859,-2.194181 0.0052,-4.397664 z m 0.0088,1.884123 2.261877,1.27124 -0.0031,2.536797 -2.264978,1.265555 -2.261361,-1.270723 0.0031,-2.537313 z"
      ></path>
      <rect
        style={`fill:url(#gradient451-${prefix});fill-opacity:1;stroke-width:0;stroke-linejoin:round`}
        width="3.9995995"
        height="0.87292844"
        x="27.552999"
        y="23.917999"
        ry="0"></rect>
      <rect
        style={`fill:url(#gradient453-${prefix});fill-opacity:1;stroke-width:0;stroke-linejoin:round`}
        width="3.9995995"
        height="0.87292844"
        x="27.55312"
        y="25.785"
        ry="0"></rect>
      <rect
        style={`fill:url(#gradient455-${prefix});fill-opacity:1;stroke-width:0;stroke-linejoin:round`}
        width="3.9995995"
        height="0.87292844"
        x="27.554626"
        y="27.652"
        ry="0"></rect>
      <rect
        style={`fill:url(#gradient457-${prefix});fill-opacity:1;stroke-width:0;stroke-linejoin:round`}
        width="3.9995995"
        height="0.87292844"
        x="27.554216"
        y="29.518999"
        ry="0"></rect>
      <rect
        style={`fill:url(#gradient459-${prefix});fill-opacity:1;stroke-width:0;stroke-linejoin:round`}
        width="3.9995995"
        height="0.87292844"
        x="27.554628"
        y="31.384001"
        ry="0"></rect>
    </g>
    <g
      aria-label="Ferron"
      transform="matrix(0.51854273,0,0,0.51854273,-41.768149,-20.221177)"
      style="font-size:40px;line-height:1.25;font-family:Rajdhani;-inkscape-font-specification:Rajdhani;white-space:pre;shape-inside:url(#rect355);fill:currentColor"
    >
      <path
        d="m 182.59,97.903605 h -3.4 q -0.84,0 -0.84,-0.84 v -24.04 q 0,-0.84 0.84,-0.84 h 12.76 q 0.8,0 0.8,0.84 v 2.72 q 0,0.84 -0.8,0.84 h -8.04 q -0.48,0 -0.48,0.44 v 6.2 q 0,0.48 0.48,0.48 h 6.84 q 0.84,0 0.84,0.84 v 2.68 q 0,0.88 -0.84,0.88 h -6.84 q -0.48,0 -0.48,0.44 v 8.52 q 0,0.84 -0.84,0.84 z"
        style="font-weight:bold;-inkscape-font-specification:'Rajdhani Bold'"
      ></path>
      <path
        d="m 210.99003,97.903605 h -8.84 q -3.16,0 -4.88,-1.68 -1.72,-1.68 -1.72,-4.84 v -7.36 q 0,-3.16 1.72,-4.84 1.72,-1.68 4.88,-1.68 h 3.16 q 3.16,0 4.88,1.68 1.72,1.68 1.72,4.84 v 5.08 q 0,0.84 -0.84,0.84 h -10.04 q -0.48,0 -0.48,0.44 v 0.88 q 0,1.24 0.52,1.8 0.56,0.52 1.84,0.52 h 8.08 q 0.84,0 0.84,0.88 v 2.64 q 0,0.44 -0.2,0.64 -0.16,0.16 -0.64,0.16 z m -9.96,-11.36 h 5.44 q 0.44,0 0.44,-0.44 v -1.92 q 0,-1.28 -0.52,-1.8 -0.52,-0.52 -1.8,-0.52 h -1.68 q -1.28,0 -1.8,0.52 -0.52,0.52 -0.52,1.8 v 1.92 q 0,0.44 0.44,0.44 z"
        style="font-weight:bold;-inkscape-font-specification:'Rajdhani Bold'"
      ></path>
      <path
        d="m 219.95001,97.903605 h -3.4 q -0.84,0 -0.84,-0.84 v -18.72 q 0,-0.84 0.84,-0.84 h 3.4 q 0.84,0 0.84,0.84 v 1.36 h 0.16 q 0.44,-1.08 1.56,-1.64 1.12,-0.56 2.36,-0.56 h 1.44 q 0.8,0 0.8,0.84 v 2.76 q 0,0.48 -0.2,0.68 -0.16,0.16 -0.6,0.12 h -2.76 q -2.76,0 -2.76,3.12 v 12.04 q 0,0.84 -0.84,0.84 z"
        style="font-weight:bold;-inkscape-font-specification:'Rajdhani Bold'"
      ></path>
      <path
        d="m 233.91005,97.903605 h -3.4 q -0.84,0 -0.84,-0.84 v -18.72 q 0,-0.84 0.84,-0.84 h 3.4 q 0.84,0 0.84,0.84 v 1.36 h 0.16 q 0.44,-1.08 1.56,-1.64 1.12,-0.56 2.36,-0.56 h 1.44 q 0.8,0 0.8,0.84 v 2.76 q 0,0.48 -0.2,0.68 -0.16,0.16 -0.6,0.12 h -2.76 q -2.76,0 -2.76,3.12 v 12.04 q 0,0.84 -0.84,0.84 z"
        style="font-weight:bold;-inkscape-font-specification:'Rajdhani Bold'"
      ></path>
      <path
        d="m 253.39008,97.903605 h -3.56 q -3.16,0 -4.88,-1.68 -1.72,-1.68 -1.72,-4.84 v -7.36 q 0,-3.16 1.72,-4.84 1.72,-1.68 4.88,-1.68 h 3.56 q 3.12,0 4.84,1.72 1.76,1.68 1.76,4.8 v 7.36 q 0,3.12 -1.76,4.84 -1.72,1.68 -4.84,1.68 z m -2.8,-4.36 h 2.04 q 1.28,0 1.8,-0.52 0.56,-0.52 0.56,-1.8 v -7.04 q 0,-1.28 -0.56,-1.8 -0.52,-0.52 -1.8,-0.52 h -2.04 q -1.28,0 -1.8,0.52 -0.52,0.52 -0.52,1.8 v 7.04 q 0,1.28 0.52,1.8 0.52,0.52 1.8,0.52 z"
        style="font-weight:bold;-inkscape-font-specification:'Rajdhani Bold'"
      ></path>
      <path
        d="m 268.23012,97.903605 h -3.4 q -0.84,0 -0.84,-0.84 v -18.72 q 0,-0.84 0.84,-0.84 h 3.4 q 0.84,0 0.84,0.84 v 1.32 h 0.16 q 0.88,-2.16 3.92,-2.16 h 1.28 q 6.28,0 6.28,6.52 v 13.04 q 0,0.84 -0.88,0.84 h -3.36 q -0.84,0 -0.84,-0.84 v -12.8 q 0,-1.28 -0.56,-1.8 -0.52,-0.56 -1.8,-0.56 h -1.44 q -2.76,0 -2.76,3.04 v 12.12 q 0,0.84 -0.84,0.84 z"
        style="font-weight:bold;-inkscape-font-specification:'Rajdhani Bold'"
      ></path>
    </g>
  </g>
</svg>
